# $Id: PKGBUILD 182913 2013-04-16 05:29:35Z eric $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=libnl1
pkgver=1.1.3
pkgrel=1
pkgdesc="Library for applications dealing with netlink sockets (Legacy version)"
arch=('i686' 'x86_64')
url="http://www.infradead.org/~tgr/libnl/"
license=('GPL')
depends=('glibc')
options=('!staticlibs')
source=("http://www.infradead.org/~tgr/libnl/files/libnl-${pkgver}.tar.gz")
md5sums=('4e4fa2197f4412b20c2952325d674b12')

build() {
  cd libnl-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd libnl-${pkgver}
  make DESTDIR="${pkgdir}" install
}
